package cn.com.fone.modules.user;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 用户中心
 */
@SpringBootApplication
@EnableEurekaClient
@MapperScan("cn.com.fone.modules.user")
@ComponentScan(basePackages = {"cn.com.fone"})
public class UserApplication {

    public static void main(String[] args) {
        // 启动嵌入式的 Tomcat 并初始化 Spring 环境及其各 Spring 组件
        SpringApplication.run(UserApplication.class, args);
    }
}
